package com.kern.common.base;

/**
 * Created by caoshi at 21:59 2021-09-14
 */
public class ResponseResult {

    private Integer code;
    private String msg;
    private String emsg;
    private Object data;
    private long time;

    public ResponseResult() {
    }

    public ResponseResult(Integer code, String msg, String emsg, Object data) {
        this.code = code;
        this.msg = msg;
        this.emsg = emsg;
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getEmsg() {
        return emsg;
    }

    public void setEmsg(String emsg) {
        this.emsg = emsg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
